package com.echo.zuul;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.security.oauth2.client.EnableOAuth2Sso;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * @version: V1.0
 * @author: chentailai
 * @description: 网关服务
 * @className: EchoGatewayApplication
 * @packageName: com.echo.gateway
 * @data: 2020/3/26 16:06
 **/
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableZuulProxy
@EnableOAuth2Sso
@EnableDiscoveryClient
public class EchoZuulApplication {

    public static void main(String[] args) {
        SpringApplication.run(EchoZuulApplication.class, args);
    }

}
